package com.zdlog.wenjuan.dataobject;

import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Id;

/**
 * @program: wenjuanSer
 * @PACKAGE_NAME: com.zdlog.wenjuan.dataobject
 * @author: Kuaile
 * @create: 2018-02-03 23:17
 * 用户信息
 **/
@Entity
@Data
public class UserInfo {


    private String userId;


    /**
     * 用户名
     */
    @Id
    private String username;

    /**
     * 密码
     */
    private String password;

    /**
     * 邮箱
     */
    private String eMail;

    /**
     * 用户头像
     */
    private String icon="/image/default.png";




}
